MercadoPago\Woocommerce\Order\OrderStatus B

Total Complexity 77
Dependencies 7
Dependents 6
Total lines 601
Lines of code 311
Logical lines of code 175
Comment lines 173
Methods 23
Properties 6

Methods 23

Method Rating Maintainability Complexity Lines of code
refundedFlow()
A
43 9 47
approvedFlow()
A
52 10 22
processStatus()
A
50 9 30
pendingFlow()
S
51 6 28
getNotificationId()
S
56 6 15
getLastNotification()
S
53 4 21
getAllPaymentsData()
S
57 4 16
validateOrderNoteType()
S
61 4 11
getRefundedStatusDetail()
S
60 3 14
canUpdateOrderStatus()
S
72 3 5
setOrderStatus()
S
71 2 6
getOrderStatusMessage()
S
70 2 6
inProcessFlow()
S
64 2 10
rejectedFlow()
S
64 2 10
cancelledFlow()
S
64 2 10
getUnprocessedRefundAmount()
S
60 1 15
calculateTotalRefunded()
S
68 2 7
mapMpStatusToWoocommerceStatus()
S
60 1 14
__construct()
S
67 1 8
inMediationFlow()
S
75 1 4
chargedBackFlow()
S
75 1 4
isNotification()
S
79 1 3
refundAlreadyProcessed()
S
72 1 5